<?php
/**
 * Magento
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License (AFL 3.0)
 * that is bundled with this package in the file LICENSE_AFL.txt.
 * It is also available through the world-wide-web at this URL:
 * http://opensource.org/licenses/afl-3.0.php
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@magentocommerce.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade Magento to newer
 * versions in the future. If you wish to customize Magento for your
 * needs please refer to http://www.magentocommerce.com for more information.
 *
 * @category    design
 * @package     base_default
 * @copyright   Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
 * @license     http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
 */

global $var_yttheme;?>
<div class="yt-footer-wrap">
	<div class="yt-footer-top">
		<div class="container">
			<div class="row">
				<div class="col-md-5 col-sm-5 col-xs-12 contact-payment-footer">
					<?php 
						$snf = $var_yttheme->skinurl();
						$skinURLnlf = str_replace("sm_setting","sm_lovefashion",$snf);
					?>
					<h2 class="footer-logo"><img src="<?php echo $skinURLnlf;?>/images/<?php echo $var_yttheme->getParam('sitestyle')?>/logo-footer.png"></h2>
					<?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('description-payment-footer')->toHtml(); ?>	
				</div>
				
				<div class="col-md-7 col-sm-7 col-xs-12 footer-link-block">
					<!--<div class="row row-1">-->
					<div class="row">
						<div class="col-lg-4 col-md-4 col-xs-6">
							<?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('connect-with-us-footer')->toHtml(); ?>	
						</div>
						<div class="col-lg-4 col-md-4 col-xs-6">
							<?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('information-footer')->toHtml(); ?>	
						</div>
						<div class="col-lg-4 col-md-4 col-xs-6">
							<?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('customer-service-footer')->toHtml(); ?>	
						</div>
					<!--</div>-->
					
					<!--<div class="row row-2">-->
						<div class="col-lg-4 col-md-4 col-xs-6 account-links-ft">
							<div class="block-ft footer-contact">
								<div class="footer-title">
									<h2>My Account</h2>
								</div>
								<div class="content-block-footer">
									<ul class="right-footer-link">
										<li class="item">
											<?php if(!$this->helper('customer')->isLoggedIn()):?>
												<a href="<?php echo $this->getUrl('customer/account/login')?>" title="<?php echo $this->__('Login');?>" ><?php echo $this->__('Login');?></a>
											<?php endif;?>
												
											<?php if($this->helper('customer')->isLoggedIn()):?>
												<a href="<?php echo $this->getUrl('customer/account/logout')?>" title="<?php echo $this->__('Logout');?>"><?php echo $this->__('Logout');?></a>
											<?php endif;?>
										</li>
										
									</ul>
									<?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('my-account-footer')->toHtml(); ?>	
								</div>
							</div>
						</div>
						<div class="col-lg-8 col-md-8 col-xs-6 contact-links-ft">
							<?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('contact-footer')->toHtml(); ?>
						</div>
					</div>
					<!--</div>-->
					
					<div class="copyright">
						<address><?php echo $this->getCopyright() ?></address> 
						
						<a target="_blank" href="http://www.magentech.com/themes/premium-themes" title="Magento Theme">Magento Themes</a> Demo Store. All Rights Reserved.
						
					</div>
				</div>
			
			</div>
		</div>
	</div>
	
</div>       
			
